//
//  CTPGeocodeFetcher.h
//  citipad
//
//  Created by Chih Yuan Liu on 3/8/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CTPBaseUrlFetcher.h"


@class CTPGeocodeFetcher;

@protocol CTPGeocodeFetcherDelegate
- (void)geocodeFetcherBegin:(CTPGeocodeFetcher*)sender;
- (void)geocodeFetcherEnd:(CTPGeocodeFetcher*)sender;
- (void)geocodeFetcherSucceeded:(CTPGeocodeFetcher*)sender lat:(double)lat lng:(double)lng ;
- (void)geocodeFetcherFailed:(CTPGeocodeFetcher*)sender;
@end

@interface CTPGeocodeFetcher : CTPBaseUrlFetcher {
	NSObject<CTPGeocodeFetcherDelegate> *delegate;
}


-(void)geocode:(NSString*) tags;

@property (readwrite, retain) NSObject<CTPGeocodeFetcherDelegate> *delegate;


@end
